<%-- Created by IntelliJ IDEA. --%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%String path = request.getContextPath();%>
<html lang="zh-CN">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>会员注册</title>
    <meta name="viewport" content="width=device-width">
    <link rel="stylesheet" href="<%=path%>/static/css/register.css">
</head>
<script src="<%=path%>/static/js/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="<%=path%>/static/js/registration.js?time=<%=System.currentTimeMillis()%>">
</script>
<script src="<%=path%>/static/js/path.js"></script>
<script src="<%=path%>/static/js/head.js"></script>
<body>
<div id="vue_body">
    <div class="header">
        <div class="main">
            <div class="logo"><a href="<%=path%>/index.jsp"><img src="<%=path%>/static/img/logo.jpeg" alt="">
            </a></div>
            <div class="_right"><span>已有账号，</span> <a href="welcome.jsp" class="login">去登陆</a> <a href="<%=path%>/welcome.jsp"
                                                                                                  class="home">返回首页</a>
            </div>
        </div>
    </div>
    <div class="main">
        <div class="h1">
            <div class="title" style="padding-right:150px">注册账号</div>
        </div>
        <div class="loginbox">
            <div class="input"><label for="userName"></label><input type="text" id="userName" name="userName"
                                                                    onkeydown="enterCommit(event)" autocomplete="off"
                                                                    placeholder="请输入用户名"></div>
            <div>用户名长度必须小于11</div>
            <div class="input"><label for="userLoginName"></label><input onblur="isUse()" type="text" id="userLoginName" name="userLoginName"
                                                                         onkeydown="enterCommit(event)"
                                                                         placeholder="请输入登入名"></div>
            <div id="userLoginNameMessage" style="color: red"></div>
            <div>登陆名长度必须大于7且小于11</div>
            <div class="input"><label for="userPassword"></label><input type="password" id="userPassword" name="userPassword"
                                                                        onkeydown="enterCommit(event)" autocomplete="off"
                                                                        placeholder="请输入密码"></div>
            <div>密码长度必须大于7且小于19</div>
            <div class="input"><label for="checkPassword"></label><input type="password" id="checkPassword" name="checkPassword"
                                                                         onkeydown="enterCommit(event)"
                                                                         autocomplete="off" placeholder="确认密码"></div>
            <div class="agree"><span class="sign a">√</span>我已阅读并接受 <a href="" target="_blank">用户协议</a> 和 <a href=""
                                                                                                             target="_blank">隐私政策</a>
            </div>
            <div class="submit hover" id="registration" onclick="NonEmpty()">注册</div>
        </div>
    </div>
    <div style="height: 150px;"></div>
</div>
</body>
</html>
